home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
program
/
ddj0897.zip
/
DYN401.ZIP
/
class
/
loseq.d
< prev
next >
Wrap
Text File
|
1996-02-04
|
683b
|
56 lines
/*
*
* Copyright (c) 1993-1996 Algorithms Corporation
* 3020 Liberty Hills Drive
* Franklin, TN 37067
*
* ALL RIGHTS RESERVED.
*
*
*
*/
defclass LinkObjectSequence : Sequence {
iNext;
};
cmeth gNewWithObj, <vNew> (link)
{
object los;
ivType *iv;
ChkArgNul(link, 2);
los = gNew(super);
iv = ivPtr(los);
iNext = link;
return los;
}
imeth gNext()
{
object n;
if (n = iNext) {
iNext = gNext(iNext);
return gValue(n);
}
return gDispose(self);
}
/*
*
* Copyright (c) 1993-1996 Algorithms Corporation
* 3020 Liberty Hills Drive
* Franklin, TN 37067
*
* ALL RIGHTS RESERVED.
*
*
*
*/